// // 引入拦截器
import request from '@/utils/request'
// //按需暴露出去一个登录的接口
export const login = data => {
  return request.post('/api/user-service/user/login', data)
}

export const getImgCode = token => {
  return request.get(`/api/user-service/user/imageCode/${token}`, {
    responseType: 'blob'
  })
}
